package cn.dengta.webapp.user.model;

import cn.dengta.common.model.ValueProxy;
import cn.dengta.common.model.ValueProxyImpl;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum ActStatus implements ValueProxyImpl<ActStatus, Integer> {
	un_finished(-1, "未完成"),
	un_get(0, "未领取"),
	get(1, "已领取");
	@EnumValue
	public final Integer value;
	public String info;

	final ValueProxy<ActStatus, Integer> proxy;

	ActStatus(Integer value, String info) {
		this.value = value;
		this.info = info;
		this.proxy = new ValueProxy<>(this, value, info);
	}
}
